<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<mysqlp name="title" :lo="parent"></mysqlp>
			<!-- {{parent}} -->
		</div>
		<script>
			Vue.component('mysqlp',
			{
				props:['name','lo'],
				template:`<div>
				<button>点击</button>
				<span>{{name}}-{{one}}-{{lo}}</span>
				</div>`,
				data(){
					return{
						count:0,
						one:'1234'
					}
				},
			})
			var vm=new Vue({
				el:'#app',
				data:{
					parent:'445566778899'
				}
			})
		</script>
	</body>
</html>